<template>
    <el-popover trigger="hover" placement="bottom">
        <template #default>
            <div class="drop-popover drop-menu">
                <router-link v-for="item in notification" to="/">
                    {{ item.label }}
                </router-link>
            </div>
        </template>
        <template #reference>
            <i class="icon-notice"></i>
        </template>
    </el-popover>
</template>

<script lang="ts" setup>
import { notification } from './options'
</script>

<style lang="less" scoped>
@import '@/assets/css/drop-menu.less';
.icon-notice {
    cursor: pointer;
    font-size: 18px;
}
</style>
